$height: 120px;
$white: #FFFFFF;

.gl-serachForm {
  background: $white;
  width: 100%;
  border-radius: 5px;
  padding: 10px 20px;

  @media only screen and (min-width: 680px) {
    .ant-col-xs-12 {
      width: 50%;
    }
  }

  @media only screen and (min-width: 766px) {
    .ant-col-xs-12 {
      width: 50%;
    }
  }

  @media only screen and (min-width: 840px) {
    .ant-col-md-8 {
      width: 33.33333%;
    }
  }

  @media only screen and (min-width: 100px) {
    .ant-col-lg-6 {
      width: 25%;
    }
  }

  @media only screen and (min-width: 1320px) {
    .ant-col-xxl-6 {
      width: 25%;
    }
  }

  .el-col {
    white-space: nowrap;
  }

  .gl-search-top,
  .gl-search-top-open {
    transition: all 0.25s ease;
    height: $height;
    overflow: hidden;
    border-radius: 4px;
    border: none;
    padding: 0 10px;

    .search-form-title {
      font-weight: 700;
      font-size: 1rem;
      line-height: 28px;
    }

    .search-button {
      display: inline-block;
      float: right;
    }

    .form-an-btn {
      display: inline;
    }

    .search-btn {
      width: 215px;
      padding-top: 3px;
      float: right;
      text-align: right;
    }

    .gl-search-open-close,
    .gl-search-open,
    .gl-search-close {
      cursor: pointer;
      text-align: center;
      font-size: 12px;
      margin-left: 8px;

      .icon {
        transition: all 0.2s ease-in-out;
        transform: rotate(90deg);
      }
    }

    .gl-search-open {
      .icon {
        transform: rotate(-90deg) !important;
      }
    }

    .gl-search-close {
      .icon {
        transform: rotate(90deg) !important;
      }
    }
  }

  .gl-search-top-open {
    height: auto;
  }
}